<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: luozh
  Date: 2017/8/6
  Time: 1:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>博客页面首页</title>
</head>
<body>
<h1>博客列表</h1>
<div>
    <ul>
        <c:forEach items="${list}" var="blog">
        <li><a href="detail?id=${blog.id}">${blog.title}</a></li>
        </c:forEach>
    </ul>
</div>
</body>
</html>
